package s01;

/**
 * @ClassName Teacher
 * @Description 定义讲师类Teacher 继承员工类Employee
 * @Author Li
 * @Date 2022/8/1 9:27
 * @ModifyDate 2022/8/1 9:27
 * @Version 1.0
 */
public class Teacher extends Employee {
    // 定义一个打印 name 的方法
    public void printName() {
        System.out.println("姓名是：" + name);
    }
}
